import request from '@/utils/request'

export function getToken(params) {
  return request({
    url: '/qiniu/token',
    method: 'get',
    params
  })
}

export function deleteImage(key) {
  return request({
    url: '/qiniu/del_image',
    method: 'get',
    params: {
      key: key
    }
  })
}
